package com.retoc.graduationtravel.mapper;

import com.retoc.graduationtravel.domain.ArticleImg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author retoc
 * @description 针对表【article_img】的数据库操作Mapper
 * @createDate 2022-04-17 09:44:34
 * @Entity com.retoc.graduationtravel.domain.ArticleImg
 */
@Repository
public interface ArticleImgMapper extends BaseMapper<ArticleImg> {

    @Select("select img_url from article_img where article_id=#{articleId}")
    List<String> selectImg(Long articleId);
}




